<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0046)http://777.sucaishui.com/plus/carbuyaction.php -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>购物车 </title>
<link href="./flowergoumai/bootstrap.min.css" rel="stylesheet" media="screen" type="text/css">
<link href="./flowergoumai/bootstrap-extend.min.css" rel="stylesheet" media="screen" type="text/css">
<link href="./flowergoumai/shop.css" rel="stylesheet" media="screen" type="text/css">
<link href="./flowergoumai/site.min.css" rel="stylesheet" media="screen" type="text/css">
<link href="./flowergoumai/web-icons.min.css" rel="stylesheet" media="screen" type="text/css">
<link href="./flowergoumai/templatemo_style.css" rel="stylesheet" type="text/css">
</head>
<body class="buycarpage">
<div class="page animsition" style="animation-duration: 800ms; opacity: 1;">
<div class="container">
<div class="panel" style="margin-top:20px;">
			<div class="panel-body cart-total-body animation-fade">
			<div class="welcome">
                        您好,先登录再购物, 请 <a href="lo.jsp">登录</a>
            		</div>
			</div>
</div>
<div class="page-content">
		<div class="panel">
			<div class="panel-body pay-body">
              <form id="fixupformid" name="fixupform" action="http://777.sucaishui.com/plus/carbuyaction.php" method="post" class="pay-form fv-form fv-form-bootstrap">
              <input name="do" type="hidden" value="clickout">
					<div class="example-wrap margin-vertical-40">
						<div class="example">
							<div class="form-group">
								<label class="pull-left example-title control-label width-150">支付方式</label>
								<div class="pull-left pay-set-body">
									<div class="pull-left">
                                    <input type="radio" checked="" class="labelauty" style="display: none;">
										<label><span class="labelauty-unchecked-image"></span><span class="labelauty-checked">在线支付</span></label>
									</div>
                                                                        <input name="paytype" type="radio" value="3" checked="checked" style="display: none;">
                                                                        <input name="paytype" type="radio" value="6" checked="checked" style="display: none;">
                                                                        <input name="paytype" type="radio" value="1" checked="checked" style="display: none;">
                                                                        <input name="paytype" type="radio" value="2" checked="checked" style="display: none;">
								</div>
							</div>
						</div>
					</div>
					<hr>
					<div class="example-wrap margin-vertical-40">
						<div class="example">
							<div class="form-group">
								<label class="pull-left example-title control-label width-150">配送方式</label>
								<div class="pull-left pay-set-body red-600">
									快递配送（<span id="pay-freight">免运费</span>）
								</div>
							</div>
						</div>
					</div>
					<hr>
					<div class="example-wrap margin-vertical-40">
						<h3 class="example-title">确认订单</h3>
						<div class="example bg-blue-grey-100">
			<c:forEach items="${list}" var="gm">
			<div class="pay-goods-body">
		<div class="row">
			<div class="col-sm-6 col-xs-8">
				<div class="media media-xs">
					<div class="media-left">
						订单编号：<strong>S-P1533690532RN361</strong>
					</div>
				</div>
			</div>
			<div class="col-sm-3 col-xs-4 text-nowrap text-right">
				商品总数：<span class="p-num">1件</span>
			</div>
			<div class="col-sm-3 red-600 text-right hidden-xs">
				<strong class="fc-f60" id="priceCount">${gm.price}</strong>元
			</div>
		</div>
        </div>
			</c:forEach>
						</div>
					</div>
					<hr>
                    <div class="example-wrap margin-bottom-30">
						<div class="example margin-bottom-0">
							<div class="form-group clearfix margin-bottom-0">
								<label class="pull-left example-title control-label width-150 margin-bottom-15">收货地址</label>
							</div>
                              <div class="loginBoxCenter">
                                    <p><label for="username">收货人：</label></p>
                                    <p><input type="text" id="postname" name="postname" class="loginInput" autofocus="autofocus" required="required" autocomplete="off" placeholder="请填写收货人姓名" value=""></p>
                                    <p><label for="password">联系方式：</label></p>
                                    <p>
                                    <input name="tel" id="tel" type="text" class="loginInput" placeholder="请填写可以联系到您的电话" value="" required="required">
                                    </p>
                                    <p><label for="password">收货地址：</label></p>
                                    <p>
                                    <input name="address" id="address" type="text" class="loginInput" placeholder="请填写街道地址，不能为空!" value="" required="required">
                                    </p>
                                    <p><label for="password">邮政编码：</label></p>
                                    <p>
                                    <input name="zip" id="zip" type="text" class="loginInput" placeholder="请填写格式如：300030" value="" required="required">
                                    </p>                            
                                </div>
						</div>
					</div>
					<div class="message form-group">
                        <textarea name="des" id="des" rows="3" class="form-control" placeholder="给商家留言，选填"></textarea>
					</div>
					<hr>
					<div class="pay-submit">
						<div class="row">
							<div class="col-md-9 col-sm-7 text-right">
								共 <span id="pay-amount" class="red-600">1</span> 件商品，合计 : <span id="pay-total" class="red-600">${list.get(0).price}元</span>     
							</div>
							<div class="col-md-3 col-sm-5 text-right">
								<button type="submit" class="btn btn-lg btn-squared btn-danger padding-horizontal-30">提交订单</button>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
</div>
</body></html>
